﻿using System;
using System.Collections.Generic;

namespace WhereIsMyCash.Entity
{
    /// <summary>
    /// 收入明细
    /// </summary>
    public class IncomeDetailInfo : BaseEntity
    {
        /// <summary>
        /// 收入ID
        /// </summary>
        public int IncomeID { get; set; }

        /// <summary>
        /// 收入项名称
        /// </summary>
        public string ItemName { get; set; }

        /// <summary>
        /// 记账日期
        /// </summary>
        public DateTime AccountingDate { get; set; }

        /// <summary>
        /// 记账人ID
        /// </summary>
        public int UserID { get; set; }

        /// <summary>
        /// 银行卡ID（-1为其他，0为现金，其他为银行卡ID）
        /// </summary>
        public int CardID { get; set; }

        /// <summary>
        /// 支出总额
        /// </summary>
        public float TotalSum { get; set; }
    }


    /// <summary>
    /// 支出明细实体列表
    /// </summary>
    public class IncomeDetailInfos : List<IncomeDetailInfo>
    {

    }
}
